package com.chaofan.messagebook.entity;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Message {
    private Integer id;

    @NotBlank
    private String author;

    private String mail;

    @NotNull
    private String time;

    @NotBlank
    private String content;

    private String reply;

}